package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 字典数据对象 position_dict
 * 
 * @author ruoyi
 * @date 2025-10-30
 */
public class PositionDict extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 数据分组标识 */
    @Excel(name = "数据分组标识")
    private String dictHead;

    /** 数据编码 */
    @Excel(name = "数据编码")
    private String dictCode;

    /** 数据名称 */
    @Excel(name = "数据名称")
    private String dictName;

    /** 上级名称 */
    @Excel(name = "上级名称")
    private String parentCode;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String isDelete;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setDictHead(String dictHead) 
    {
        this.dictHead = dictHead;
    }

    public String getDictHead() 
    {
        return dictHead;
    }

    public void setDictCode(String dictCode) 
    {
        this.dictCode = dictCode;
    }

    public String getDictCode() 
    {
        return dictCode;
    }

    public void setDictName(String dictName) 
    {
        this.dictName = dictName;
    }

    public String getDictName() 
    {
        return dictName;
    }

    public void setParentCode(String parentCode) 
    {
        this.parentCode = parentCode;
    }

    public String getParentCode() 
    {
        return parentCode;
    }

    public void setIsDelete(String isDelete) 
    {
        this.isDelete = isDelete;
    }

    public String getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dictHead", getDictHead())
            .append("dictCode", getDictCode())
            .append("dictName", getDictName())
            .append("parentCode", getParentCode())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
